package com.atguigu.gmall.user.clinet.impl;

import com.atguigu.gmall.common.result.Result;
import com.atguigu.gmall.model.user.UserAddress;
import com.atguigu.gmall.user.clinet.UserFeignClient;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

@Component
public class UserFeignClientImpl implements UserFeignClient {
    @Override
    public Result<List<UserAddress>> getUserAddressList() {
        return Result.<List<UserAddress>>fail().message("服务降级");
    }
}
